package io.github.talelin.latticy.common.enums;

import lombok.Getter;

/**
 * 请求响应枚举
 *
 * @author ljj
 * @date 2022/4/7
 */
@Getter
public enum ResponseEnum {

    /**
     * 服务器异常或参数校验失败
     */
    SUCCESS(200, "success");

    ResponseEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    private Integer code;
    private String message;
}
